package core;

public class Utility {
//This class will contain miscellaneous functions which other classes may require.
//It should almost always have only static functions which return some value
	
	
	//TODO: Remove after everyone has seen
	public static boolean alwaysTrue() {
		return true;
	}
	

	public static String removeFirstWord(String userCommand) {
		return userCommand.replace(getHead(userCommand), "").trim();
	}

	public static String getHead(String userCommand) {
		String commandTypeString = userCommand.trim().split("\\s+")[0];
		return commandTypeString;
	}
	
	
}
